<div class="nav-tabs-custom">
	<ul class="nav nav-tabs">
		<li class=""><a href="{:Url('index')}">列表</a></li>
		<li class="active"><a href="#">添加图片位置</a></li>
	</ul>
	
	<form class="form-horizontal js-ajax-form" method="post" action="{:Url('add_post')}">
		<div class="box-body mt10">
			<div class="form-group">
				<label class="col-sm-2 control-label">位置名称 <span>*</span></label>
				<div class="col-sm-9">
					<input type="text" name="name" class="form-control" placeholder="位置名称" />
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">位置宽度 <span>*</span></label>
				<div class="col-sm-2">
                    <div class="input-group">
                        <input type="number" name="picwidth" min="1" class="form-control" placeholder="位置宽度" size="20" />
                        <span class="input-group-addon">px</span>
                    </div>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">位置高度 <span>*</span></label>
				<div class="col-sm-2">
                    <div class="input-group">
                        <input type="number" name="picheight" min="1" class="form-control" placeholder="位置高度" size="20" />
                        <span class="input-group-addon">px</span>
                    </div>
				</div>
			</div>
		</div>
		<div class="box-footer">
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary js-ajax-submit">保存</button>
					<a href="javascript:" onclick="self.location=document.referrer;" class="btn btn-default">返回</a>
				</div>
			</div>
		</div>
    </form>

</div>

